/**
 * 左侧菜单栏配置项
 * 具体路由在这配置
 */
export const menuList: IMenuItem[] = [
    {
        title: '系统设置',
        icon: 'icon-xitongshezhi',
        items: [
            { path: '/system/settings', name: '系统设置' },
            { path: '/system/ship-address', name: '发货地址管理' },
        ]
    },
    {
        title: '销售管理',
        icon: 'icon-product',
        items: [
            { path: '/sale/product', name: '商品列表' },
            { path: '/sale/seller', name: '销售人员列表' },
            { path: '/sale/tag', name: '商品标签' },
            { path: '/sale/order', name: '订单管理' }
        ]
    },
    {
        title: '财务管理',
        icon: 'icon-caiwu',
        items: [
            { path: '/financial/inventory-account', name: '库存账' },
            { path: '/financial/inventory-document', name: '库存单据' },
        ]
    },
    {
        title: 'FBA补货管理',
        icon: 'icon-buhuo',
        items: [
            { path: '/inventory/strategy', name: '补货策略' },
            { path: '/inventory/replenish', name: '自动补货' },
            { path: '/inventory/manual-replenishment', name: '手动补货' },
        ]
    },
    {
        title: 'FBA库存处理',
        icon: 'icon-kucun',
        items: [
            { path: '/fba-inventory/stock-detail', name: '库存明细' },
            { path: '/fba-inventory/control', name: '处理单' },
        ]
    },
    {
        title: '物流管理',
        icon: 'icon-logisticsforeign',
        items: [
            { path: '/logistics/fba-shipment', name: 'FBA Shipment' },
            { path: '/logistics/purchase-shipment', name: '采购补货' },
            { path: '/logistics/forwarder-information', name: '货代资料管理' }
        ]
    },
    {
        title: 'TWUsa管理',
        icon: 'icon-cangku',
        items: [
            { path: '/twusa/stock-in-list', name: '入库单管理' },
            { path: '/twusa/stock-out-list', name: '出库单管理' },
        ]
    },
    {
        title: '采购管理',
        icon: 'icon-caigou',
        items: [
            { path: '/purchase/purchasing-strategy', name: '采购策略' },
            { path: '/purchase/mix-replenishment', name: '销售评估' },
            { path: '/purchase/artificial-selection', name: '人工筛选' }
        ]
    }
];

export interface IMenuItem {
    title: string;
    icon: string;
    items: {
        path: string;
        name: string;
    }[];
}
